package com.example.petback.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/petback")
public class PageController {

    @RequestMapping("/birds")
    public String toBird(){
        return "birds";
    }
    @RequestMapping("/dogs")
    public String toDog(){
        return "dogs";
    }

    @RequestMapping("/cats")
    public String toCat(){
        return "cats";
    }

    @RequestMapping("/reptiles")
    public String toReptiles() {
        return "reptiles";
    }

    @RequestMapping("/order")
    public String toOrder(){
        return "order";
    }

    @RequestMapping("/details")
    public String toDetails(){
        return "details";
    }
    @RequestMapping("/user")
    public String toUser(){
        return "user";
    }
    @RequestMapping("/data")
    public String toData(){
        return "data";
    }
}
